package org.jeecg.modules.iot.model.socket;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
@Data
public class DeviceLoginData {
    @JsonProperty("DEVICE")
    private String deviceCode;

    @JsonProperty("CMD")
    private int cmd;

    @JsonProperty("ALLDATA")
    private List<PortData> allData;

    @JsonProperty("RSSI")
    private int rssi;

    @JsonProperty("IMEI")
    private String imei;

    @JsonProperty("ICCID")
    private String iccid;

    @JsonProperty("VERSION")
    private String version;

    @JsonProperty("SERVERTYPE")
    private String serverType;

    @JsonProperty("ADDRESS")
    private String address;

    @JsonProperty("PORT")
    private String port;

    @JsonProperty("MQTTUSER")
    private String mqttUser;

    @JsonProperty("MQTTPASS")
    private String mqttPass;

    @JsonProperty("HEART")
    private int heart;

    @JsonProperty("SEQ")
    private String seq;

    @JsonProperty("SERVERPASS")
    private String serverPass; // 添加 SERVERPASS 字段
      @JsonProperty("SERVERUSER")
    private String serverUser; // 添加 SERVERUSER 字段
}
